
CXXFLAGS+=-g -O -Wall
LDFLAGS+=-g -O -Wall
CXX=/OpenWrt-Toolchain-ramips-for-mipsel_24kec+dsp-gcc-4.6-linaro_uClibc-0.9.33.2/toolchain-mipsel_24kec+dsp_gcc-4.6-linaro_uClibc-0.9.33.2/bin/mipsel-openwrt-linux-g++




all: client 

clean:
	- rm *.o client



client: vpn1.o stun.o udp.o 
	$(CXX) $(LDFLAGS) -o $@  $^ libt2usvr.a libt2u.a -lpthread -ldl

%.o:%.cxx
	$(CXX)  -c $(CPPFLAGS) $(CXXFLAGS) $< -o $@




# Dependancies
vpn1.o: stun.h udp.h 
stun.o: stun.h udp.h
udp.o: stun.h udp.h 


 
